﻿using System;

namespace SharpStockLib.Net
{
    /// <summary>
    /// Basic container to get a status for a download. Stores the status as a DownloadStatus enum and the results either as a file (OutputFile property) or an exception (Exception property) if something went wrong.
    /// </summary>
    public class DownloadResult
    {
        public DownloadStatus Status
        {
            get;
            set;
        }

        public Exception Exception
        {
            get;
            set;
        }

        public string OutputFile
        {
            get;
            set;
        }
    }
}
